<template>
  <div>
    <div class="con5 bg-white">
      <div class="container">
        <el-container>
          <el-header class="el-header">
            <el-page-header @back="$router.push('/')" :content="schoolName">
            </el-page-header>
          </el-header>
          <el-container>
            <el-aside width="300px" class="text-center">
              <img width="112" :src="schoolLogo" alt="" />
              <br />
              {{ schoolName }}
            </el-aside>
            <el-main class="main" v-html="schoolInfo"> </el-main>
          </el-container>
        </el-container>
      </div>
    </div>
    <div class="container d-none">
      <div class="row con6">
        <div class="col">
          <img height="24" src="@/assets/con6-icon.png" alt="" />
          <span>在线开放学堂</span>
        </div>
      </div>
      <div class="row">
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-1.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-2.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-3.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-4.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
      </div>
      <div class="row con7-end">
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-5.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-6.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-7.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
        <div class="d-inline-block card con7">
          <img src="@/assets/con7-8.png" class="card-img-top" alt="..." />
          <div class="card-body">
            <div class="card-title">大数据与金融</div>
            <div>
              <img width="14" src="@/assets/con7-icon2.png" alt="" />
              主讲教师：王林
            </div>
            <div>
              <img width="14" src="@/assets/con7-icon1.png" alt="" />
              中央财经大学
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>


<script>
export default {
  name: "App",
  props: ["schoolName", "schoolInfo", "schoolLogo"],
  data() {
    return {
      index: 0,
      con3Button: "con3Button",
      con4arr: [
        {
          title: "单片机基础",
          学分: 3,
          学时: 32,
          教师: "李白",
          context: "1-9周 周五 第1-4节 二号教学楼302",
          学校: "北京航空航天大学",
          授课: "线下授课",
          type: "1",
        },
        {
          title: "单片机基础",
          学分: 3,
          学时: 32,
          教师: "李白",
          context: "1-9周 周五 第1-4节 二号教学楼302",
          学校: "北京航空航天大学",
          授课: "线下授课",
          type: "1",
        },
        {
          title: "单片机基础",
          学分: 3,
          学时: 32,
          教师: "李白",
          context: "1-9周 周五 第1-4节 二号教学楼302",
          学校: "北京航空航天大学",
          授课: "线下授课",
          type: "1",
        },
        {
          title: "单片机基础",
          学分: 3,
          学时: 32,
          教师: "李白",
          context: "1-9周 周五 第1-4节 二号教学楼302",
          学校: "北京航空航天大学",
          授课: "线下授课",
          type: "1",
        },
      ],
    };
  },
};
</script>

<style scoped>
.con7-end {
  margin-top: 40px;
  margin-bottom: 108px;
}
.card {
  margin-left: 15px;
  margin-right: 15px;
  border: 0;
}
.card-body {
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  line-height: 30px;
}
.card-body img {
  display: inline-block;
  margin-right: 10px;
}
.el-header {
  padding-top: 20px;
}
.card .card-title {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  line-height: 30px;
  margin-bottom: 35px;
}
.con7 {
  width: 255px;
  height: 340px;
  border-radius: 5px;
}
.con6 {
  text-align: center;
  margin-top: 54px;
  margin-bottom: 66px;
  font-size: 24px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: #333333;
}

.con6 img {
  margin-right: 9px;
  display: inline-block;
}
.con5 {
  min-height: 400px;
  padding-bottom: 150px;
}

.con5 .text-center img {
  margin-top: 76px;
  margin-bottom: 24px;
}
.main p {
  padding-top: 40px;
  width: 623px;
  font-weight: 400;
  color: #666666;
  line-height: 24px;
  text-indent: 28px;
  font-size: 15px;
}
</style>

<style>
.con5 .main p {
  font-weight: 400;
  color: #666666;
  text-indent: 28px;
  font-size: 15px;
}

* {
  font-size: 14px;
}
</style>
